Optimal. Leaf size=385 \[ \frac{\sqrt [4]{a} \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ),\frac{1}{2}\right ) \left (\frac{5 \sqrt{b} (3 b c-a g)}{\sqrt{a}}-9 a i+15 b e\right )}{30 b^{7/4} \sqrt{a+b x^4}}+\frac{(2 b d-a h) \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )}{4 b^{3/2}}+\frac{x \sqrt{a+b x^4} (5 b e-3 a i)}{5 b^{3/2} \left (\sqrt{a}+\sqrt{b} x^2\right )}-\frac{\sqrt [4]{a} \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} (5 b e-3 a i) E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{5 b^{7/4} \sqrt{a+b x^4}}+\frac{f \sqrt{a+b x^4}}{2 b}+\frac{g x \sqrt{a+b x^4}}{3 b}+\frac{h x^2 \sqrt{a+b x^4}}{4 b}+\frac{i x^3 \sqrt{a+b x^4}}{5 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.423748, antiderivative size = 385, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 10, integrand size = 42, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.238, Rules used = {1885, 1819, 1815, 641, 217, 206, 1888, 1198, 220, 1196} \[ \frac{\sqrt [4]{a} \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right ) \left (\frac{5 \sqrt{b} (3 b c-a g)}{\sqrt{a}}-9 a i+15 b e\right )}{30 b^{7/4} \sqrt{a+b x^4}}+\frac{(2 b d-a h) \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )}{4 b^{3/2}}+\frac{x \sqrt{a+b x^4} (5 b e-3 a i)}{5 b^{3/2} \left (\sqrt{a}+\sqrt{b} x^2\right )}-\frac{\sqrt [4]{a} \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} (5 b e-3 a i) E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{5 b^{7/4} \sqrt{a+b x^4}}+\frac{f \sqrt{a+b x^4}}{2 b}+\frac{g x \sqrt{a+b x^4}}{3 b}+\frac{h x^2 \sqrt{a+b x^4}}{4 b}+\frac{i x^3 \sqrt{a+b x^4}}{5 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1885
Rule 1819
Rule 1815
Rule 641
Rule 217
Rule 206
Rule 1888
Rule 1198
Rule 220
Rule 1196
Rubi steps
\begin{align*} \int \frac{c+d x+e x^2+f x^3+g x^4+h x^5+220 x^6}{\sqrt{a+b x^4}} \, dx &=\int \left (\frac{x \left (d+f x^2+h x^4\right )}{\sqrt{a+b x^4}}+\frac{c+e x^2+g x^4+220 x^6}{\sqrt{a+b x^4}}\right ) \, dx\\ &=\int \frac{x \left (d+f x^2+h x^4\right )}{\sqrt{a+b x^4}} \, dx+\int \frac{c+e x^2+g x^4+220 x^6}{\sqrt{a+b x^4}} \, dx\\ &=\frac{44 x^3 \sqrt{a+b x^4}}{b}+\frac{1}{2} \operatorname{Subst}\left (\int \frac{d+f x+h x^2}{\sqrt{a+b x^2}} \, dx,x,x^2\right )+\frac{\int \frac{5 b c-5 (132 a-b e) x^2+5 b g x^4}{\sqrt{a+b x^4}} \, dx}{5 b}\\ &=\frac{g x \sqrt{a+b x^4}}{3 b}+\frac{h x^2 \sqrt{a+b x^4}}{4 b}+\frac{44 x^3 \sqrt{a+b x^4}}{b}+\frac{\int \frac{5 b (3 b c-a g)-15 b (132 a-b e) x^2}{\sqrt{a+b x^4}} \, dx}{15 b^2}+\frac{\operatorname{Subst}\left (\int \frac{2 b d-a h+2 b f x}{\sqrt{a+b x^2}} \, dx,x,x^2\right )}{4 b}\\ &=\frac{f \sqrt{a+b x^4}}{2 b}+\frac{g x \sqrt{a+b x^4}}{3 b}+\frac{h x^2 \sqrt{a+b x^4}}{4 b}+\frac{44 x^3 \sqrt{a+b x^4}}{b}+\frac{\left (\sqrt{a} (132 a-b e)\right ) \int \frac{1-\frac{\sqrt{b} x^2}{\sqrt{a}}}{\sqrt{a+b x^4}} \, dx}{b^{3/2}}-\frac{\left (396 a^{3/2}-3 b^{3/2} c-3 \sqrt{a} b e+a \sqrt{b} g\right ) \int \frac{1}{\sqrt{a+b x^4}} \, dx}{3 b^{3/2}}+\frac{(2 b d-a h) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x^2}} \, dx,x,x^2\right )}{4 b}\\ &=\frac{f \sqrt{a+b x^4}}{2 b}+\frac{g x \sqrt{a+b x^4}}{3 b}+\frac{h x^2 \sqrt{a+b x^4}}{4 b}+\frac{44 x^3 \sqrt{a+b x^4}}{b}-\frac{(132 a-b e) x \sqrt{a+b x^4}}{b^{3/2} \left (\sqrt{a}+\sqrt{b} x^2\right )}+\frac{\sqrt [4]{a} (132 a-b e) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{b^{7/4} \sqrt{a+b x^4}}-\frac{\left (396 a^{3/2}-3 b^{3/2} c-3 \sqrt{a} b e+a \sqrt{b} g\right ) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{6 \sqrt [4]{a} b^{7/4} \sqrt{a+b x^4}}+\frac{(2 b d-a h) \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x^2}{\sqrt{a+b x^4}}\right )}{4 b}\\ &=\frac{f \sqrt{a+b x^4}}{2 b}+\frac{g x \sqrt{a+b x^4}}{3 b}+\frac{h x^2 \sqrt{a+b x^4}}{4 b}+\frac{44 x^3 \sqrt{a+b x^4}}{b}-\frac{(132 a-b e) x \sqrt{a+b x^4}}{b^{3/2} \left (\sqrt{a}+\sqrt{b} x^2\right )}+\frac{(2 b d-a h) \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )}{4 b^{3/2}}+\frac{\sqrt [4]{a} (132 a-b e) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{b^{7/4} \sqrt{a+b x^4}}-\frac{\left (396 a^{3/2}-3 b^{3/2} c-3 \sqrt{a} b e+a \sqrt{b} g\right ) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{6 \sqrt [4]{a} b^{7/4} \sqrt{a+b x^4}}\\ \end{align*}
Mathematica [C] time = 0.223516, size = 281, normalized size = 0.73 \[ \frac{-20 \sqrt{b} x \sqrt{\frac{b x^4}{a}+1} (a g-3 b c) \, _2F_1\left (\frac{1}{4},\frac{1}{2};\frac{5}{4};-\frac{b x^4}{a}\right )+30 b d \sqrt{a+b x^4} \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )+4 \sqrt{b} x^3 \sqrt{\frac{b x^4}{a}+1} (5 b e-3 a i) \, _2F_1\left (\frac{1}{2},\frac{3}{4};\frac{7}{4};-\frac{b x^4}{a}\right )+30 a \sqrt{b} f+20 a \sqrt{b} g x+15 a \sqrt{b} h x^2-15 a h \sqrt{a+b x^4} \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )+12 a \sqrt{b} i x^3+30 b^{3/2} f x^4+20 b^{3/2} g x^5+15 b^{3/2} h x^6+12 b^{3/2} i x^7}{60 b^{3/2} \sqrt{a+b x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.017, size = 516, normalized size = 1.3 \begin{align*}{\frac{i{x}^{3}}{5\,b}\sqrt{b{x}^{4}+a}}-{{\frac{3\,i}{5}}i{a}^{{\frac{3}{2}}}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){b}^{-{\frac{3}{2}}}{\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}}+{{\frac{3\,i}{5}}i{a}^{{\frac{3}{2}}}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticE} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){b}^{-{\frac{3}{2}}}{\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}}+{\frac{h{x}^{2}}{4\,b}\sqrt{b{x}^{4}+a}}-{\frac{ah}{4}\ln \left ({x}^{2}\sqrt{b}+\sqrt{b{x}^{4}+a} \right ){b}^{-{\frac{3}{2}}}}+{\frac{gx}{3\,b}\sqrt{b{x}^{4}+a}}-{\frac{ag}{3\,b}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}}+{\frac{f}{2\,b}\sqrt{b{x}^{4}+a}}+{ie\sqrt{a}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}} \left ({\it EllipticF} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ) -{\it EllipticE} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ) \right ){\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}{\frac{1}{\sqrt{b}}}}+{\frac{d}{2}\ln \left ({x}^{2}\sqrt{b}+\sqrt{b{x}^{4}+a} \right ){\frac{1}{\sqrt{b}}}}+{c\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{i x^{6} + h x^{5} + g x^{4} + f x^{3} + e x^{2} + d x + c}{\sqrt{b x^{4} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{i x^{6} + h x^{5} + g x^{4} + f x^{3} + e x^{2} + d x + c}{\sqrt{b x^{4} + a}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 5.73435, size = 260, normalized size = 0.68 \begin{align*} \frac{\sqrt{a} h x^{2} \sqrt{1 + \frac{b x^{4}}{a}}}{4 b} - \frac{a h \operatorname{asinh}{\left (\frac{\sqrt{b} x^{2}}{\sqrt{a}} \right )}}{4 b^{\frac{3}{2}}} + f \left (\begin{cases} \frac{x^{4}}{4 \sqrt{a}} & \text{for}\: b = 0 \\\frac{\sqrt{a + b x^{4}}}{2 b} & \text{otherwise} \end{cases}\right ) + \frac{d \operatorname{asinh}{\left (\frac{\sqrt{b} x^{2}}{\sqrt{a}} \right )}}{2 \sqrt{b}} + \frac{c x \Gamma \left (\frac{1}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{4}, \frac{1}{2} \\ \frac{5}{4} \end{matrix}\middle |{\frac{b x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt{a} \Gamma \left (\frac{5}{4}\right )} + \frac{e x^{3} \Gamma \left (\frac{3}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{3}{4} \\ \frac{7}{4} \end{matrix}\middle |{\frac{b x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt{a} \Gamma \left (\frac{7}{4}\right )} + \frac{g x^{5} \Gamma \left (\frac{5}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{5}{4} \\ \frac{9}{4} \end{matrix}\middle |{\frac{b x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt{a} \Gamma \left (\frac{9}{4}\right )} + \frac{i x^{7} \Gamma \left (\frac{7}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{7}{4} \\ \frac{11}{4} \end{matrix}\middle |{\frac{b x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt{a} \Gamma \left (\frac{11}{4}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{i x^{6} + h x^{5} + g x^{4} + f x^{3} + e x^{2} + d x + c}{\sqrt{b x^{4} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]